package com.syh.jn.scm.service.impl.downstream.system;

import com.alibaba.dubbo.config.annotation.Service;
import com.syh.core.ddd.infrastructure.repository.AggregateRepository;
import com.syh.core.ddd.service.AbstractServiceImpl;
import com.syh.jn.scm.domain.downstream.entity.system.DownMenu;
import com.syh.jn.scm.domain.downstream.repository.system.DownMenuRepository;
import com.syh.jn.scm.dto.downstream.system.DownMenuVo;
import com.syh.jn.scm.service.api.downstream.system.DownMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class DownMenuServiceImpl extends AbstractServiceImpl<Object, Object, DownMenuVo, DownMenu, Long> implements DownMenuService {

  @Autowired
  private DownMenuRepository downMenuRepository;

  @Override
  protected AggregateRepository<DownMenu, Long> getAggregateRepository() {
    return this.downMenuRepository;
  }


}
